home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / gus_160.zip / GUS.DOC < prev    next >
Text File  |  1992-09-20  |  53KB  |  1,090 lines

  1.                   ╔══════════════════════════════════════════╗
  2.                   ║       █▀▀▀▀▀▀█  █      █  █▀▀▀▀▀▀█       ║
  3.                   ║       █         █      █  █              ║
  4.                   ║       █   ▀▀██  █     ██  ▀▀▀▀▀▀██       ║
  5.                   ║       █     ██  █     ██  ▄     ██       ║
  6.                   ║       ████████  ████████  ████████       ║
  7.                   ║       ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡       ║
  8.                   ║           General Unpack Shell           ║
  9.                   ║               version 1.60               ║
  10.                   ╚══╤═════════════════════════════════════╤═╝
  11.                      │Copyright (C) 1992 by TRI-SYSTEMS co.│
  12.                      │       - ALL RIGHTS RESERVED -       │
  13.                      │     Written by Johan Zwiekhorst     │
  14.                      └─────────────────────────────────────┘
  15.  
  16.  
  17.                        T A B L E   O F   C O N T E N T S
  18.                        *********************************
  19.  
  20.       1. LEGAL STUFF
  21.          The no-nonsense licence statement
  22.          Warranty
  23.          Contact
  24.          Payment
  25.          What you should have received
  26.  
  27.       2. INTRODUCTION
  28.  
  29.       3. USAGE
  30.          3.1. General Usage under DOS
  31.               SYSTEM REQUIREMENTS
  32.               COMMAND-LINE PARAMETERS
  33.               NOTE
  34.               EXAMPLES
  35.               EXIT CODES
  36.          3.2. Unpacking Mailarchives
  37.          3.3. Identifying Archive Types
  38.  
  39.       4. BUILT-IN DEFINITIONS
  40.          4.1. Built-in Unpacker Definitions
  41.          4.2. How To Define Other Unpackers
  42.  
  43.       5. GUS & OTHER SHELLS
  44.  
  45.       6. HOW GUS IDENTIFIES ARCHIVES
  46.          6.1. Recognition patterns as used by GUS
  47.          6.2. Record layout of ARC/PAK/ARC+
  48.          6.3. Mandatory order of scanning the patterns
  49.  
  50.       7. RUNTIME MESSAGES
  51.          [A] General information messages
  52.          [B] Warning messages
  53.          [C] Fatal error messages
  54.  
  55.       8. ACKNOWLEDGEMENTS
  56.  
  57.       9. REVISION HISTORY
  58.  
  59. ═══════════════════════════════════════════════════════════════════════════════
  60.  
  61.  
  62.       ╒════════════════╕
  63.       │ 1. LEGAL STUFF │
  64.       ╘════════════════╛
  65.  
  66.       This software is copyrighted (C) 1989, 1990, 1991, 1992
  67.       by TRI-SYSTEMS co., hereafter called the Owner.
  68.       All Rights Reserved.
  69.       The software was written by Johan Zwiekhorst, hereafter called the
  70.       Author.
  71.  
  72.       The No-Nonsense Licence Statement
  73.       =================================
  74.       This software and everything enclosed with it are protected by both
  75.       Belgian copyright law and international treaty provisions.
  76.       It is called "freeware".
  77.  
  78.       FREEWARE software may be used, copied and distributed freely for
  79.       NONCOMMERCIAL use only IF:
  80.       ▀▀▀▀▀▀▀▀▀▀▀▀▀
  81.  
  82.               NO FEE IS CHARGED FOR USE, COPYING OR DISTRIBUTION.
  83.  
  84.               IT IS NOT MODIFIED IN ANY WAY.
  85.  
  86.       It may be distributed ONLY in it's original, unmodified compressed
  87.       package file.                                ~~~~~~~~~~
  88.  
  89.       This means you may not add comments to the compressed package file
  90.       (also known as an archive file or simply an archive), nor may you
  91.       delete files from or add files to the archive file, UNLESS YOU HAVE
  92.       A WRITTEN PERMISSION TO DO SO.
  93.  
  94.       Converting the archive file to another compression method or
  95.       another archive file format is allowed, provided that the above
  96.       conditions are met.
  97.  
  98.       The original package as released by me is in Yoshi's LZH archive
  99.       format. (See below for what you should have received.)
  100.       In order to extract the files from an LZH archive, you will need
  101.       to get the file LHA***.EXE, where '***' stands for the version
  102.       number of the program LHA.  At the time this is written, the
  103.       latest version is 2.13, so look for LHA213.EXE.
  104.       Note, that recompressing the archive will nearly always result
  105.       in a bigger archive.
  106.  
  107.       The use of FREEWARE software is prohibited in a governmental
  108.       or commercial situation. In these cases, this software must be
  109.       purchased and a Commercial Licence Statement will then be provided
  110.       for.  You may write to TRI-SYSTEMS at the address below for more
  111.       information.
  112.  
  113.       Warranty
  114.       ========
  115.       This software is provided AS IS without any warranty, expressed or
  116.       implied, including but not limited to fitness for a particular
  117.       purpose.
  118.       IN NO EVENT SHALL THE AUTHOR/OWNER OF THIS PRODUCT BE LIABLE FOR
  119.       ANY DIRECT OR CONSEQUENTIAL LOSS OR DAMAGES WHICH MAY HAVE ARISEN
  120.       FROM THE USE OF THIS PRODUCT.
  121.       If your local law does not permit any of the statements made above,
  122.       or if you do not agree with any of them yourself, THEN YOU ARE NOT
  123.       LICENCED TO USE THIS PROGRAM!
  124.  
  125.       Contact
  126.       =======
  127.       The Author can be reached via electronic mail at phone number
  128.       +32-89-762626.
  129.       This is the Tripod BBS.  Network addresses:
  130.  
  131.       Internet       johan.zwiekhorst@f118.n292.z2.fidonet.org
  132.       Compuserve     >INTERNET:johan.zwiekhorst@f118.n292.z2.fidonet.org
  133.       FIDOnet         2:292/118
  134.       SIGnet         27:332/0
  135.       Turbo-DataNet  77:8320/100
  136.  
  137.       The Owner can be contacted at the following address:
  138.  
  139.       TRI-SYSTEMS co.
  140.       Langstraat 89
  141.       3630 MAASMECHELEN (Belgium)
  142.       Phone +32-89-764905 during office hours, Central European Time.
  143.  
  144.       Payment
  145.       =======
  146.       If you would like to use this product in a commercial or
  147.       governmental situation, please contact TRI-SYSTEMS at the address
  148.       above. You will then learn the price of the product and a
  149.       Commercial Licence Statement will be made available to you.
  150.  
  151.       For all others, this product is free, as mentioned before.
  152.       But if you would like to support the author and encourage him to
  153.       write more useful software, you're welcome to pay some money.
  154.       You may pay whatever you feel the product is worth to you.
  155.       Note that this kind of freeware products is developed entirely in
  156.       the author's leisure time and he receives absolutely no
  157.       compensation for it, apart from what you as a user would pay him.
  158.  
  159.       If you pay at least U.S. $15 (BEF 500, NLG 30, DEM 25), you will
  160.       receive, when available, a 5.25" or 3.5" floppy diskette with the
  161.       next version.  Please specify which.
  162.       Immediately after receiving your payment, I will send you
  163.       an acknowledgement and a list of the latest versions of all
  164.       freeware I wrote. Payments to the author can be sent in cash to the
  165.       address mentioned above or transferred to one of the following bank
  166.       accounts:
  167.       Bank Brussel Lambert (Belgium) - account number 335-0076382-89
  168.       Rabobank (Holland)             - account number 1059.19.519
  169.  
  170.       ***NOTE THAT THIS IS FOR NON-COMMERCIAL SITUATIONS ONLY!
  171.  
  172.       For all payments made: please specify NAME and VERSION NUMBER of
  173.       the product!
  174.  
  175.  
  176.       What you should have received:
  177.       ==============================
  178.  
  179.       You should have received the file
  180.  
  181.       GUS_160.LZH - (30419 bytes)
  182.  
  183.       with the following contents:
  184.  
  185.       ┌──────────┐  ┌─────┐ ┌─────────────────────────┐
  186.       │ filename │  │bytes│ │ description             │
  187.       └══════════┘  └═════┘ └═════════════════════════┘
  188.       GUS     .DOC   53475  This documentation.
  189.       GUS     .EXE   10709  The program file.           CRC/32 = dca07278
  190.       GUS_WCFG.PAS    5581  TP source for a program     CRC/32 = d8a2b564
  191.                             that writes a new configur-
  192.                             ation into GUS.EXE.
  193.  
  194.       You may also use the program VALIDATE from McAfee Associates for
  195.       the purpose of checking the authenticity of the program file(s).
  196.       It should produce the following:
  197.  
  198.                 File Name:  gus.exe             gus_wcfg.pas
  199.                      Size:  10709               5581
  200.                      Date:  9-20-1992           9-20-1992
  201.       File Authentication:
  202.            Check Method 1 - EAA3                68DC
  203.            Check Method 2 - 0DE2                14B7
  204.  
  205.  
  206.  
  207.       ╒═════════════════╕
  208.       │ 2. INTRODUCTION │
  209.       ╘═════════════════╛
  210.  
  211.       The General Unpack Shell, or GUS, identifies compressed file types
  212.       and calls the correct unpacker in order to extract the files from
  213.       them.
  214.       Its main purpose is, of course, to take work out of YOUR hands.
  215.       You can use GUS with its straight-forward and easy to remember
  216.       commands instead of having to learn a new set of commands each time
  217.       a new archiver sees the daylight.
  218.  
  219.       GUS will also work nicely in automated tasks, where any type of
  220.       archive should be uncompressed, or where a certain file has to be
  221.       added to any given archive.
  222.  
  223.       GUS was made to be command-line compatible with the ARCE.COM
  224.       unpacker program by Vernon Buerg.  This makes it possible for you
  225.       to rename GUS.EXE to ARCE.COM and have it invoked by any program
  226.       that expects both ARCE and SEA's ARC-type compressed files, so that
  227.       such a program will in fact work with any archive format YOU
  228.       choose.
  229.  
  230.       GUS does not require you to fiddle with cumbersome and difficult
  231.       configuration files: it's just a single EXE file.  You copy it into
  232.       your favourite utility directory and you can immediately start
  233.       using it, no hassles at all.
  234.  
  235.  
  236.       ╒══════════╕
  237.       │ 3. USAGE │
  238.       ╘══════════╛
  239.  
  240.       GUS assumes you have located all archiver programs it has to invoke
  241.       somewhere in your system PATH.
  242.       GUS is small and it will only occupy about 21K while shelling out
  243.       to other programs, which should leave more than enough memory for
  244.       those archiver programs.
  245.  
  246.       3.1. General Usage under DOS
  247.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  248.       SYSTEM REQUIREMENTS:
  249.       --------------------
  250.       GUS will run on any IBM PC compatible computer running DOS 3.0 or
  251.       greater, provided that at least 25K plus the memory the largest
  252.       archiver program to invoke would need is available.
  253.  
  254.       COMMAND-LINE PARAMETERS:
  255.       ------------------------
  256.       As said before, GUS is command-line compatible with ARCE.
  257.       Hence, the general syntax is:
  258.  
  259.       GUS «compressed_filespec» [filespec(s)] [target_path] [switch(es)]
  260.  
  261.       (Entries enclosed within [] are optional, those within « » are
  262.       mandatory.  The [] and « » signs serve to indicate this only and
  263.       should never be typed!)
  264.  
  265.       «compressed_filespec»  ::=  this specifies where to find the
  266.                                   compressed file.  If an extension
  267.                                   is not given, GUS will assume '.*'.
  268.                                   Currently, the following archive types
  269.                                   are supported: ARC and ARC+, ARJ, DWC,
  270.                                   HPK, HYP, LZH (both LHarc and LHA), PAK,
  271.                                   SQZ, ZIP and ZOO.
  272.  
  273.       [filespec(s)]          ::=  specifies which files should be
  274.                                   unpacked. You may give more than one
  275.                                   file specification, all of which may
  276.                                   contain wild cards.
  277.  
  278.       [target_path]          ::=  specifies where to locate the unpacked
  279.                                   files.  In order to allow GUS to be as
  280.                                   flexible as possible, the ordering of
  281.                                   the file specifications and the target
  282.                                   path is not important.  You may define
  283.                                   the target path first and then the
  284.                                   files to be extracted.  It is even
  285.                                   allowed to put the target path in the
  286.                                   middle of a number of specifications of
  287.                                   files to extract!  If you give more
  288.                                   than one directory, GUS will ignore all
  289.                                   but the last.
  290.  
  291.       [switch(es)]           ::=  specifies one or more of the following
  292.                                   switches...
  293.          /I     :  Identify only, don't shell out (see 3.3 below)
  294.          /M     :  unpack Mailarchives only (see 3.2 below)
  295.          /N     :  do Not use embedded path while extracting
  296.                    (for the sake of compatibility with ARCE, /5 may also be
  297.                    used)
  298.          /P     :  Print file(s) on standard output device
  299.          /Q     :  Quiet mode, suppresses shell output
  300.          /R     :  Replace existing files
  301.          /T     :  Test archive integrity
  302.          /Gpswd :  supply password 'pswd' for Garbled archive
  303.  
  304.       All parameters have to separated by at least one blank.  Switches
  305.       may be joined together without spaces, but the '/' character must
  306.       be present for each switch.  GUS does not support the dash '-'
  307.       instead of the slash '/'.
  308.  
  309.       NOTE:
  310.       -----
  311.       Consistent with ARCE's behaviour, GUS will create any directories
  312.       contained within an archive if they do not exist.  Both ARCE and GUS
  313.       have a commandline switch with which you can prevent this and have
  314.       them extract to the current directory.
  315.       If you are using the /M (mail archive) switch however, use of the
  316.       /N (No embedded paths) switch is automatically assumed and unpacking
  317.       will always be done in the current directory.
  318.       The /N switch is also automatically invoked with /P (print) and /T
  319.       (test).
  320.  
  321.       EXAMPLES:
  322.       ---------
  323.       1) Extract all files from an archive CFILE.ANY:
  324.          > GUS CFILE.ANY
  325.  
  326.       2) Extract all *.COM and *.EXE files from an archive UTILS.ANY
  327.          into a target directory D:\Utils and replace all existing ones:
  328.          > GUS UTILS.ANY *.COM *.EXE D:\UTILS /R/N
  329.  
  330.       3) A batchfile LA.BAT which will list any text file inside any
  331.          archive:
  332.          LA.BAT: @echo off
  333.                  GUS %1 %2 %3 %4 %5 %6 %7 %8 %9 /P|LIST/S
  334.  
  335.          Then you can use this like:   LA KBUI_200 *.DOC
  336.  
  337.       4) Test the integrity of all archives in the directory F:\Arcs
  338.          > GUS F:\ARCS\* /T
  339.  
  340.       5) Unpack all ZIPfiles PW*.ZIP protected with password JiMmY into
  341.          the directory D:\PWS, not replacing any existing files and using
  342.          any embedded paths:
  343.          > GUS PW*.ZIP D:\PWS /GJiMmY
  344.  
  345.       EXIT CODES:
  346.       -----------
  347.       GUS will yield an errorlevel of 0 if all operations succeeded.
  348.       If something's wrong, it will pass on the errorlevel returned by
  349.       the child program invoked.
  350.       If the child program could not be started, GUS will return
  351.       errorlevel 202 = no such program file found in PATH
  352.                  203 = non-existing directory
  353.                  204 = too many open files (increase FILES=... parameter
  354.                        in your CONFIG.SYS file)
  355.                  205 = access denied
  356.                  206 = invalid handle
  357.                  208 = not enough memory to start the child program
  358.                  210 = invalid environment
  359.                  211 = invalid format
  360.                  218 = no more files
  361.       Note, that GUS will not be able to handle a PATH of more than 255
  362.       characters properly.
  363.  
  364.       3.2. Unpacking Mailarchives
  365.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  366.       If you are a BBS SysOp or a Point connected to a Fidonet Technology
  367.       compatible electronic mail network, you receive mail packets
  368.       compressed and bundled within mailarchives.  You obviously need to
  369.       unpack those mailarchives.
  370.       You can do that in two ways:
  371.  
  372.       a) Have your mailprocessor call GUS to unpack the mailarchives.
  373.  
  374.        + If your mailprocessor allows you to specify which unpacker it
  375.          should invoke to decompress mailarchives, have it call GUS.
  376.          Example for ConfMail:
  377.          > CM IMPORT AREAS.BBS -K -N -F Conf.Imp -A GUS
  378.          This approach has the disadvantage that GUS will create any
  379.          directories embedded in the archive, should they not exist.
  380.          Another disadvantage is, that the mailprocessor is still in memory.
  381.          This occupies a lot more memory than is necessary.
  382.  
  383.        + If your mailprocessor does not allow you to specify which
  384.          unpacker to use, it will most likely expect ARCE or PKXARC/
  385.          PKUNPAK.  Rename GUS.EXE to ARCE.COM or PKXARC.EXE or
  386.          PKUNPAK.EXE, whatever your mailprocessor wants.
  387.          If your mailprocessor wants to use an unpacker that needs a
  388.          specific decompress command (like PAK E Archive), you cannot
  389.          have it call GUS, since GUS would interpret its first
  390.          command-line argument as the archive name.
  391.          Use the method described in item b) to have GUS unpack your
  392.          mailarchives BEFORE your mailprocessor is started.  Since your
  393.          mailprocessor will only see mail packets then and no
  394.          mailarchives, there will be no problem.
  395.  
  396.       b) Have GUS unpack all mailarchives BEFORE you invoke your
  397.          mailprocessor. This is the preferred method.
  398.          You this by starting GUS with the following command-line:
  399.  
  400.          GUS «Inbound_directory» /M
  401.  
  402.          Instead of the archive name, you specify the path to the
  403.          directory where your inbound mail is located.
  404.          Suppose your inbound directory is D:\Opus\NetFiles.  GUS will
  405.          unpack all mailarchives in that directory with the following
  406.          command:
  407.          > GUS D:\OPUS\NETFILES /M
  408.  
  409.          After a mailarchive has been unpacked succesfully, GUS will
  410.          delete it automatically.
  411.          If a mailarchive cannot be unpacked succesfully, then GUS will
  412.          create a subdirectory BADARC.GUS in your inbound directory and
  413.          move that mailarchive to it.  This allows you to inspect the
  414.          problematic mailarchives later on while retaining their original
  415.          name.  Other unpack shells always rename a faulty archive to
  416.          BADARC.001, which makes it very difficult if you would like to
  417.          restore the archive to its original name after you have
  418.          inspected and maybe repaired it.  I didn't like that procedure,
  419.          so I decided to let GUS move problematic archives to a special
  420.          subdirectory instead.  Let me know how you feel.
  421.  
  422.       3.3. Identifying Archive Types
  423.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  424.       With the /I switch, you can have GUS simply report which archive
  425.       type is at hand and do nothing else.
  426.       This switch can be used just to get a list of archive types, like
  427.       this:
  428.       > GUS J:\Outbound\*.MO? /I
  429.  
  430.       Type Archive Filename
  431.       ---- ----------------
  432.       LZH  J:\OUTBOUND\0009FE64.MO1
  433.       ???  J:\OUTBOUND\8FDCB1E2.MO1
  434.       ZIP  J:\OUTBOUND\8FDCB243.MO0
  435.       ARJ  J:\OUTBOUND\FF24FFE9.MO0
  436.       LZH  J:\OUTBOUND\8FDCB241.MO0
  437.  
  438.       GUS yields something like the above list.  The '???' means that GUS
  439.       was unable to determine the archive type, possibly because it isn't
  440.       an archive at all.  In this case, it was a zero-length file.
  441.  
  442.       A much more useful way of using this switch is to determine the
  443.       type of just one archive and act upon that.  For instance, to add a
  444.       file to any archive that comes along.
  445.       If used with /I, GUS will return an errorlevel from 0 to 11,
  446.       indicating the archive type.
  447.  
  448.       Archive Type:  Unknown ARC ARC+ ARJ DWC HPK HYP LZH PAK SQZ ZIP ZOO
  449.       Errorlevel  :     0     1   2    3   4   5   6   7   8   9   10  11
  450.  
  451.       Example: suppose you want to add a header text LOGO.TXT to ZIP and
  452.       ARJ files, and leave other archive types alone.
  453.       These batchfile instructions will take care of that:
  454.  
  455.         GUS %1 /I
  456.         if not errorlevel 11 if errorlevel 10 goto IsZIP
  457.         if not errorlevel  4 if errorlevel  3 goto IsARJ
  458.         goto Finish
  459.       :IsZIP
  460.         PKZIP -z %1 <LOGO.TXT
  461.         goto Finish
  462.       :IsARJ
  463.         ARJ c -zLOGO.TXT %1
  464.       :Finish
  465.  
  466.       Please be advised that the errorlevel codes assigned to each archive
  467.       type may change! If a new archive type is added to GUS, its extension
  468.       will be merged into the list shown above so that the order of the
  469.       extensions is alphabetical. If you don't like this and would rather see
  470.       new types simply be added to the end of the list, let me know. I will
  471.       comply with your wishes if enough people feel like that.
  472.       At this time, I like to have an alphabetical list and so do most of the
  473.       people I asked about this.
  474.  
  475.  
  476.       ╒═════════════════════════╕
  477.       │ 4. BUILT-IN DEFINITIONS │
  478.       ╘═════════════════════════╛
  479.  
  480.       4.1. Built-In Unpacker Definitions
  481.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  482.       The following unpackers are defined by default within GUS.EXE:
  483.  
  484.       ╔════╤════════════╤═══════╤═══════╤═══════╤═════╤═════╤════════╗
  485.       ║Type│Program     │Extract│Replace│Display│Test │Path │Password║
  486.       ╟────┼────────────┼───────┼───────┼───────┼─────┼─────┼────────╢
  487.       ║ARC │PKUNPAK .EXE│-n     │-r     │-c     │-t   │*****│g       ║
  488.       ║A7+ │XARC    .EXE│       │/o     │*****  │*****│*****│/g      ║
  489.       ║ARJ │ARJ     .EXE│e -uy  │e -y   │p      │t    │<x   │─g      ║
  490.       ║DWC │DWC     .EXE│xow    │xw     │p      │t    │r    │g       ║
  491.       ║HPK │HPACK   .EXE│x -on-r│x -oa-r│p -r   │t -r │-p   │-c      ║
  492.       ║HYP │HYPER   .EXE│-x     │-xo    │*****  │*****│p    │*****   ║
  493.       ║LZH │LHA     .EXE│e /m+  │e /m+c+│p /m+  │t /m+│x+   │*****   ║
  494.       ║PAK │PAK     .EXE│e/WO   │e/WA   │p      │t    │/PATH│/g=     ║
  495.       ║SQZ │SQZ     .EXE│e /o0  │e /o1  │p      │t    │<x   │*****   ║
  496.       ║ZIP │PKUNZIP .EXE│-n     │-o     │-c     │-t   │-d   │-s      ║
  497.       ║ZOO │ZOO     .EXE│e:O    │e:OS   │e:p    │e:N  │//   │*****   ║
  498.       ╟────┼────────────┼───────┼───────┼───────┼─────┼─────┼────────╢
  499.       ║ 3  │    12      │  10   │  10   │  10   │ 10  │  5  │   5    ║
  500.       ╚════╧════════════╧═══════╧═══════╧═══════╧═════╧═════╧════════╝
  501.       The numbers above indicate the number of characters provided for
  502.       each string.
  503.  
  504.       Note that Extract, Replace, Display and Test are COMMANDS, while
  505.       Path and Password are OPTIONS.  The difference is, that an OPTION
  506.       is always combined with a COMMAND and cannot be used alone.
  507.       If the first character of the Path option is a `<', however, it means
  508.       that the second character should be used to replace the first command
  509.       string character. This is currently only the case with ARJ and SQZ,
  510.       who both need the `e' command to be replaced with `x' in order to
  511.       extract files while using embedded path information.
  512.  
  513.       All spaces means that that particular program does not need any
  514.       parameters for that particular command.
  515.  
  516.       All stars means that that particular program does not support that
  517.       command or that option.
  518.  
  519.       You may want to redefine some of those built-in definitions for
  520.       various reasons. To use another unpacker program, for instance.
  521.       Or to change some parameters.
  522.  
  523.       4.2. How To Define Other Unpackers
  524.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  525.       There are two ways to modify the built-in definitions.
  526.  
  527.       You can grab a hex editor and change GUS.EXE directly. If you do,
  528.       please take note of the lengths of the strings as listed above in
  529.       section 4.1. All strings occupy the specified number of characters.
  530.       To achieve that, they were padded with spaces where necessary. If you
  531.       edit them, make sure you retain the number of characters and do NOT
  532.       change the funny looking character at the start of each string
  533.       (that's in fact the string length indicator byte). If a particular
  534.       parameter is not supported by a certain unpacker program, then you
  535.       should edit the appropriate field to contain all stars.
  536.  
  537.       If you own a Turbo Pascal compiler v5.0 or later from Borland
  538.       International, you can edit the file GUS_WCG.PAS and re-compile it.
  539.       This small program will update the configuration information at the
  540.       end of GUS.EXE for you. Do *NOT* modify the record layout of that
  541.       information, since GUS will not recognize it anymore if you do.
  542.  
  543.       Future versions of GUS may come with a complete setup program to
  544.       edit and save a new configuration.
  545.  
  546.  
  547.       ╒═══════════════════════╕
  548.       │ 5. GUS & OTHER SHELLS │
  549.       ╘═══════════════════════╛
  550.  
  551.       Since GUS was first created, other authors have joined the club and
  552.       released their own versions of a utility that identifies archive
  553.       types and shells out to the appropriate unpacker programs.
  554.  
  555.       Some of those other shell programs come with source, others don't.
  556.       Some have configuration files, others don't.
  557.       Some are large, others small.
  558.       Only one is GUS and all the others "ain't"!
  559.  
  560.       Why should you use GUS?
  561.  
  562.       1. GUS is small and fast. Other shell programs typically use a lot
  563.          more memory than GUS does.
  564.       2. GUS provides you with all possible commands to allow not only
  565.          automatic use, but also easy DOS command-line usage.
  566.       3. While scanning a file to determine the archive type, the
  567.          identification bytes have to be investigated in a well-defined
  568.          order. Only then, the program will not be fooled by things like
  569.          archives within archives.
  570.          GUS is the only program that does this flawlessly: it will never
  571.          be fooled.
  572.       4. GUS has built-in code especially designed for archives that have
  573.          their identification code at the end of the file.  If such an
  574.          archive has been transmitted by means of a protocol like
  575.          X-modem, some junk may have been appended to the file to make it
  576.          grow to the next 128 byte or even 1 K-byte boundary!
  577.          GUS is the *only* program that will recognize an archive with
  578.          appended junk because it can skip that while scanning.
  579.          (At this time, this is only needed for DWC archives, but you
  580.          never know...)
  581.       5. The DWC archiver requires its compressed files to have the
  582.          extension '.DWC' or else it won't work with them.
  583.          GUS knows this and will rename any DWC archive that does not
  584.          have the proper extension before calling DWC.EXE and rename it
  585.          back to the original name afterwards. This is also true for HPACK
  586.          and HPK archives.
  587.       6. Because *I* wrote it! <grin>
  588.  
  589.  
  590.       ╒════════════════════════════════╕
  591.       │ 6. HOW GUS IDENTIFIES ARCHIVES │
  592.       ╘════════════════════════════════╛
  593.  
  594.       GUS recognizes archives by searching for well-defined patterns in the
  595.       archive file. Such a pattern can be from 1 to 5 bytes in length and
  596.       it is extremely important that they be checked in the PROPER ORDER!
  597.       That is what distinguishes GUS from all it's competitors: most
  598.       programs do search for the right patterns (with the exception of the
  599.       pattern for ZOO, which is almost always wrong), but don't do this in
  600.       the proper order. That can result in faulty identifications,
  601.       specifically when encoutering archives within archives.
  602.  
  603.       6.1. Recognition patterns as used by GUS
  604.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  605.       ArcType Offset  Pattern         Comment
  606.       ------- ------  ------------    -------------------------------
  607.       ARC     0       0x1A
  608.       ARC+    0       0x1A            Method byte (offset 1) of all
  609.       PAK                             entries needs to be scanned: if
  610.       HYP                             >= 0x0A then PAK;
  611.                                       >= 0x48 then HYP;
  612.                                       == 0x14 then ARC+
  613.                                       Note: PAK can also be recognized
  614.                                       by locating the byte 0xFE at offset
  615.                                       EOF-2, but GUS doesn't use that
  616.                                       because it is less accurate than
  617.                                       scanning the method bytes, which
  618.                                       has to be done anyway for identi-
  619.                                       fying ARC+ and HYP.
  620.                                       For completeness, the record layout
  621.                                       of an ARC archive will be given in
  622.                                       item 2.
  623.       ARJ     0       0x60 0xEA
  624.       DWC     -3      'DWC'           Offset -3 means the third LAST byte
  625.                                       of the archive file.
  626.                                       It is possible that some junk is
  627.                                       present at the end of an archive,
  628.                                       because of Xmodem transmissions for
  629.                                       example.
  630.                                       In order to avoid GUS not
  631.                                       recognizing the archive because of
  632.                                       this, the last 1028 bytes (or 343
  633.                                       triplets) are read into a buffer
  634.                                       and if that contains the string
  635.                                       'DWC', then we have a DWC archive.
  636.                                       An additional check will be done,
  637.                                       however. The `DWC' string will have
  638.                                       to be the last item in a 27 byte
  639.                                       structure of which the first two
  640.                                       items are ArcStrucSize=27 (2 bytes)
  641.                                       and DirStrucSize=34 (1 byte) before
  642.                                       GUS will accept the file to be a DWC
  643.                                       archive.
  644.       LZH     2       '-l??-'         The '?' specifies a wildcard
  645.                                       character.
  646.       ZIP     0       'PK' 0x03 0x04
  647.       HPK     0       'HPAK'
  648.       ZOO     21      0xDC 0xA7 0xC4 0xFD
  649.                                       Most other programs search for the
  650.                                       string 'ZOO' at the front of the
  651.                                       archive, but that is wrong! Only
  652.                                       the ZOO archives made using MS-DOS
  653.                                       would be recognized this way. ZOO
  654.                                       archives made by an Amiga or a
  655.                                       computer running Unix would not be
  656.                                       necessarily be recognized.
  657.       SQZ     0       'HLSQZ'
  658.  
  659.       6.2. Record layout of ARC/ARC+/PAK
  660.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  661.       var
  662.           ArcHeader : record
  663.                         Marker: Byte;
  664.                         Method: Byte;
  665.                         Name  : array [1..13] of char;
  666.                         Size  : DWord;
  667.                         Stamp : DWord;
  668.                         CRC   : Word;
  669.                         Length: DWord;
  670.                       end;
  671.  
  672.       Procedure to scan all archive entries:
  673.  
  674.       |begin
  675.       | seek(F,0);
  676.       | notOK:=false;
  677.       | YieldARC:=ARC;
  678.       | repeat
  679.       |   {$I-}
  680.       |   blockread(F,ArcHeader,sizeof(ArcHeader));
  681.       |   {$I+}
  682.       |   if IOresult=0
  683.       |    then begin
  684.       |          if ArcHeader.Method>=PAKid
  685.       |           then begin
  686.       |                 notOK:=true;
  687.       |                 YieldARC:=PAK;
  688.       |                 if ArcHeader.Method>=HYPid
  689.       |                  then YieldARC:=HYP
  690.       |                  else if ArcHeader.Method=ARPid
  691.       |                        then YieldARC:=ARP
  692.       |                end
  693.       |           else MoveFilePtr(F,ArcHeader.Size);
  694.       |         end
  695.       |    else notOK:=true
  696.       | until notOK
  697.       |end;
  698.  
  699.       This is of course all in Turbo Pascal, the language in which GUS was
  700.       written. The above are in fact literal excerpts from GUS's source
  701.       code.
  702.  
  703.       6.3. Mandatory order for scanning the patterns
  704.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  705.               1 - SQZ
  706.               2 - ZIP
  707.               3 - HPK
  708.               4 - ZOO
  709.               5 - LZH
  710.               6 - ARJ
  711.               7 - DWC
  712.               8 - ARC/PAK/ARC+/HYP
  713.  
  714.       This order is mandatory because it guarantees the greatest chance for
  715.       a correct recognition.
  716.       Every other order would enlarge the chance for a faulty result.
  717.       This is also the reason why the archive specifications are still
  718.       built into GUS and not given in a seperate configuration file (like
  719.       PolyXarc, for example): I still haven't found a good method to have
  720.       GUS determine automatically in which order the patterns have to be
  721.       scanned, if a possibility exists that new patterns would be added to
  722.       the list. I can't expect the users to include new patterns in the
  723.       proper order themselves, can I?
  724.       Therefore, I don't think providing GUS with a CFG file is very
  725.       important at this time. I see no problem for providing a new GUS when
  726.       a new and exciting archiver is released.
  727.  
  728.       That's it folks! If you're curious: the TP source for GUS is about
  729.       790 lines in length. Those lines are `filled' in the same way as
  730.       those of the procedure quoted above.
  731.  
  732.       NOTE: you may use the scanning and identification method as used by
  733.       GUS and as described above in your own programs, but don't forget the
  734.       reference indicating where you got the information!
  735.  
  736.  
  737.       ╒═════════════════════╕
  738.       │ 7. RUNTIME MESSAGES │
  739.       ╘═════════════════════╛
  740.  
  741.       GUS may produce a number of messages while it's working.
  742.       I will list all messages below, with an explanation what's wrong.
  743.  
  744.       [A] General information messages
  745.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  746.       MESSAGE: Child program returns exit code #
  747.       -> this message is given when the invoked unpacker program returns
  748.          control to GUS.  It shows the errorlevel returned by the
  749.          unpacker program.  The "#" will be replaced by the actual
  750.          exit code.
  751.  
  752.       [CHILD]: «unpacker_commandline»
  753.       -> this is shown in Quiet mode (/Q switch) instead of the
  754.          archiver's screen output.  The «unpacker_commandline» will be
  755.          replaced by just that.
  756.  
  757.       Extract: ALL files (XARC cannot extract specific files)
  758.       -> this message is shown when the first four characters of the
  759.          unpacker program definition string are "XARC".  Any files to
  760.          extract specified on the command-line will be ignored.
  761.  
  762.  
  763.       [B] Warning messages
  764.       ~~~~~~~~~~~~~~~~~~~~
  765.       WARNING: multiple target directories defined -- will use the LAST one!
  766.       -> you have defined more than one target path on the command-line.
  767.          GUS warns you that it will ignore all paths but the last.
  768.  
  769.       WARNING: unknown switch /X ignored
  770.       -> you have specified a switch that GUS doesn't know.  In the above
  771.          warning message, the "X" will be replaced by the actual
  772.          character that you used.  GUS will continue but ignores this
  773.          particular command.
  774.  
  775.       WARNING: a slash by itself is not a valid option -- ignored
  776.       -> you have typed a slash "/" followed by a space or an end-of-line.
  777.          GUS will continue and ignore this.
  778.  
  779.       WARNING: unknown parameter #9 «X» ignored
  780.       -> you have typed something on the command-line that GUS can't
  781.          decipher.  The actual word you typed will be inserted instead of
  782.          "X" in the above message, and the number of that parameter on
  783.          the commandline will be shown instead of the "9" above.
  784.  
  785.       WARNING: moving bad archive HHHHHHHH.XX9 to X:\Inbound\BADARC.GUS\
  786.       -> in mail unpack mode (/M switch), GUS was unable to unpack an
  787.          archive and warns you that it will be moved to the BADARC.GUS
  788.          subdirectory that GUS creates in the mail inbound directory.
  789.          The actual name of the bad archive will be inserted in the
  790.          message instead of "HHHHHHHH.XX9" and "X:\Inbound" will be
  791.          replaced by the path to your mail inbound directory.
  792.  
  793.       WARNING: unsupported command -- will do normal extract instead
  794.       -> you tried to perform an action not supported by the particular
  795.          archiver defined within GUS (i.e., issue a /T [test] command
  796.          with the HYPER archiver program).
  797.          GUS warns you it will ignore that command and do a normal
  798.          extract instead.
  799.  
  800.       WARNING: XXX type can only be unpacked into current directory!
  801.       -> the unpacker program has no option to enable using embedded
  802.          directories or creating them, so all unpacking will be done
  803.          into the current directory, since that is the only way.
  804.  
  805.       WARNING: XXX type cannot be garbled - ignoring password...
  806.       -> you supplied an extraction password for an archive whose
  807.          unpacker program does not support password-protection.
  808.          GUS will continue the command while ignoring the /G switch.
  809.          The "XXX" will be replaced by the actual archive type detected.
  810.  
  811.       [C] Fatal error messages
  812.       ~~~~~~~~~~~~~~~~~~~~~~~~
  813.       >ERROR<: cannot read configuration information!
  814.       MESSAGE: aborting with exit code 255...
  815.       -> GUS complains it can't find the configuration information at the
  816.          back of it's EXE file.  This means something is terribly wrong
  817.          with that EXE file.  You better delete it and get the original
  818.          release archive unpacked again!  (You *did* save that one,
  819.          didn't you?)
  820.  
  821.       >ERROR<: cannot create new filename for rename or move!
  822.       -> while trying to rename (like when an archiver need a fixed
  823.          extension) or move (like when a mailarchive couldn't be unpacked)
  824.          a file, GUS increments the filename (in case of a fixed extension)
  825.          or the extension (in case of a bad mailarchive) when it at first
  826.          doesn't succeed with the rename or move. If the filename or
  827.          extension cannot be incremented anymore and no other options are
  828.          left, GUS issues the above error message.
  829.  
  830.       >ERROR<: cannot erase unpacked mailarchive!
  831.       -> in mail unpack mode (/M switch), GUS is unable to delete the
  832.          mailarchive after it has been unpacked successfully.
  833.          This more than likely means that the mailarchive was marked
  834.          Read/Only.  You will have to unlock and delete it manually.
  835.          As mailarchives are created fresh upon receipt, it is very
  836.          unlikely that they would be marked R/O.
  837.  
  838.       >ERROR<: can't rename fixed extension back to original, leaving as is...
  839.       -> GUS had to rename an archive to a name with the fixed extension
  840.          required by archivers like DWC or HPACK and now it can't rename
  841.          the file back to the original name. This can normally only happen
  842.          in a multitasking environment, for instance when the archive file
  843.          was renamed, moved or deleted before GUS could rename it back.
  844.          GUS issues this error message and leaves the file as it was.
  845.  
  846.       >ERROR<: DOS couldn't execute «XXX» due to: YYY
  847.       -> GUS was unable to load and execute the unpacker program.
  848.          The path and name of that unpacker will be inserted in the error
  849.          message instead of "XXX" and the reason will be shown instead of
  850.          "YYY".  That reason will be one of 9 possible problems
  851.          described in section 3.1. General Usage under DOS, EXIT CODES.
  852.          If the error code returned by DOS should be unknown to GUS, it
  853.          will display "DOS ERROR" followed by the error number instead.
  854.  
  855.       >ERROR<: error locating directory XXX
  856.                will unpack in current directory.
  857.       -> You specified a target directory GUS was unable to find.  The
  858.          target path specification will be ignored and the unpacking will
  859.          be done in the current directory.
  860.  
  861.       >ERROR<: «XXX» is no ARC/ARC+/ARJ/DWC/HPK/HYP/LZH/PAK/SQZ/ZIP/ZOO file!
  862.       -> GUS encountered a file that is not one of the known archive
  863.          types.  GUS will continue with the next file, if there is one.
  864.          "XXX" will be replaced by the actual archive name.
  865.  
  866.       >ERROR<: no such file(s)!
  867.       -> GUS was started with an archive filename specification, but no
  868.          such file could be found.  GUS will abort with errorlevel 1.
  869.  
  870.       >ERROR<: no such mail directory!
  871.       -> you specified a mail inbound directory (/M switch) that GUS was
  872.          unable to locate.  GUS will end with errorlevel 0.
  873.  
  874.  
  875.       ╒═════════════════════╕
  876.       │ 8. ACKNOWLEDGEMENTS │
  877.       ╘═════════════════════╛
  878.  
  879.     + PKUNPAK  FAST!  Archive Extract Utility  Version 3.61  08-02-88
  880.       Copyright (c) 1986-1988 PKWARE Inc. All Rights Reserved.
  881.  
  882.     + PKUNZIP (R)   FAST!   Extract Utility   Version 1.93  ALPHA  10-15-91
  883.       Copr. 1989-1991 PKWARE Inc. All Rights Reserved. PKUNZIP/h for help
  884.       PKUNZIP Reg. U.S. Pat. and Tm. Off.
  885.      
  886.     + XARC - to decompress a standard ARC Format Archive, Ver 7.1,
  887.       October, 1990
  888.       Copyright 1990 by System Enhancement Associates, Inc.;
  889.       ALL RIGHTS RESERVED
  890.  
  891.     + ARJ 2.39a BETA Copyright (c) 1990-92 Robert K Jung. Aug 27 1992
  892.       All Rights Reserved.  U.S. Patent No. 5,140,321.
  893.  
  894.     + DWC - Archive utility, Release 5.10, Created 3/07/90
  895.       (C) Copyright 1986-90 by Dean W. Cooper; All rights reserved.
  896.  
  897.     + HPACK - The multi-system archiver Version 0.75c0 (shareware version)
  898.       For MSDOS, OS/2, Apple IIgs, Macintosh, and UNIX
  899.       Copyright (c) Peter Gutmann 1989 - 1991.  Release date: 28/12/91
  900.  
  901.     + Hyper - Pack Utility 2.5
  902.       Copyright (c) 1989,1990 P. Sawatzki and K.P. Nischke
  903.  
  904.     + LHA version 2.13    Copyright (c) Haruyasu Yoshizaki, 1988-91
  905.  
  906.     + Pak 2.51 Copyright 1988-90 NoGate Consulting
  907.  
  908.     + SQZ -- Squeeze It, v1.08.2, Sep 11 1992, Copyright J I Hammarberg
  909.  
  910.     + Zoo archiver, Version 2.10 (1991/07/09 02:10:34)
  911.       (C) Copyright 1991 Rahul Dhesi -- Noncommercial use permitted
  912.  
  913.     + ARCE Copyright (c) 1986-91 Vernon D. Buerg.
  914.       Extract ARC files, Version 4.0g, 4/12/91. All rights reserved.
  915.  
  916.     + Conference Mail - Revision: 4.07 by Bob Hartman, FidoNet Node 132/101
  917.       (C) Copyright 1986, 1987 by Spark Software Inc. All rights reserved.
  918.  
  919.  
  920.       ╒═════════════════════╕
  921.       │ 9. REVISION HISTORY │
  922.       ╘═════════════════════╛
  923.  
  924.       Ver.   Comment
  925.       ~~~~   ~~~~~~~
  926.       1.60 - Added support for the HPACK archiver from Peter Gutmann, which
  927.              makes the absolutely smallest archives at this time.
  928.            - Added support for the Swedish SQZ archiver, which compresses
  929.              better than ARJ 2.30 or the new PKZIP 1.93a!
  930.            - Previously, the first three archive types were: ARC (#1), ARJ
  931.              (#2) and ARC+ (#3). From now on, ARC+ will be #2 and ARJ #3.
  932.              This is more logical. (The reason for the previous order was
  933.              that GUS uses the abbreviation ARp internally for ARC+, and
  934.              ARp comes after ARJ alphabetically.)
  935.            - Due to a string length mismatch, GUS couldn't tell whether
  936.              UsePath or UsePassword options were supported or not. The
  937.              UsePath problem was reported by Wim Van Sebroeck (2:292/862)
  938.              and by checking that, I discovered that the same was true for
  939.              the UsePassword option. Corrected.
  940.            - Added code to allow the Path option to replace a command
  941.              instead of being added to it. (Indicated by `<' as the first
  942.              character in the Path option in GUS_WCFG.PAS)
  943.              Only needed for ARJ and SQZ at this time. (The previously used
  944.              `e -jf' for ARJ doesn't seem to work equal to `x', so that was
  945.              changed.)
  946.            - GUS `forgot' about the specification indicating which files had
  947.              to be extracted, once an ARC+ type archive had been worked on.
  948.              Reported by Wim Van Sebroeck (2:292/862) and fixed.
  949.            - If the specified target directory ended with a backslash (\),
  950.              GUS wouldn't recognize it as the target directory. Reported by
  951.              Wim Van Sebroeck (2:292/862) and fixed.
  952.            - Extract command for ARJ changed from `e -n' to `e -uy' and
  953.              modified some other archiver parameters in order to make the
  954.              behaviour of various archiver programs more homogenious.
  955.              GUS without /R option:
  956.              (1) XARC and HYPER will ask you if they should overwrite older
  957.                  files. Unfortunately, these programs have no command
  958.                  options to work in batchmode and avoid this.
  959.              (2) HPACK will never overwrite older files because it doesn't
  960.                  have an option for this.
  961.              (3) all other archivers will overwrite older files and skip
  962.                  the rest.
  963.              GUS with /R will cause existing files always to be
  964.              overwritten.
  965.            - If someone would combine several real commands on the GUS
  966.              commandline, the effects might not be what one desires.
  967.              Example: GUS * /T /R would start unpacking when one would
  968.              expect it to ignore the replace command and do a test only.
  969.              So I have changed the behaviour. The /T command now has priority
  970.              over all other commands. This means that if you specify multiple
  971.              commands, the /T (test) command will be executed and all others
  972.              ignored. If you specify /P and /R, the /P has a higher priority
  973.              and will be executed. The /R will be ignored. The priority of a
  974.              command increases if it can do less damage. So the priority order
  975.              for the GUS commands is in descending order: /I /T /P /R
  976.              (remember: the other switches are options, not commands!).
  977.              This problem was discovered after a tip by Alex Cleynhens
  978.              (2:292/500).
  979.            - Additional check for DWC archives. Apart from the string `DWC'
  980.              in the last 1K of the file, it is now required that this string
  981.              is the last item in a 27 byte structure for the file to be
  982.              identified as a DWC archive.
  983.            - GUS reported a runtime error when trying to rename an archive to
  984.              a fixed extension and if the new name existed already. Reported
  985.              by Wim Van Sebroeck (2:292/862). Fixed: the name is now
  986.              incremented. Modified the routine which moves bad mailarchives
  987.              to the BADARC.GUS subdirectory as well: if a file with the
  988.              same name already exists in the BADARC.GUS subdirectory, the
  989.              extension of the file to be moved is incremented.
  990.            - GUS had a problem if the target directory was a root directory.
  991.              In that case, it specified only the drive instead of the root
  992.              directory. Reported by Wim Van Sebroeck (2:292/862). Fixed.
  993.            - HPACK seems to require that its archives have a fixed extension
  994.              of .HPK (like DWC does). GUS directory /M /T doesn't move bad
  995.              archives into the BAD_ARC.GUS directory. Reported by Peter Smink
  996.              (2:285/1). Fixed.
  997.            - Various changes to the documentation.
  998.  
  999.       1.50 - Added the /N (/5) switch to prevent GUS using or creating
  1000.              paths embedded within archives.
  1001.            - Made this switch automatic while working with mail archives
  1002.              (/M).  Thanks to John Lots (2:512/36.3@fidonet.org) and Eef
  1003.              Hartman (2:281/603.5) for suggesting this and detecting the
  1004.              problem with this in GUS 1.40.
  1005.              /N is now also automatically invoked with /P and /T.
  1006.            - Changed the way the configuration information is stored a bit,
  1007.              since there was a useless amount of space being reserved for
  1008.              the "Unknown" type, which of course shouldn't have been saved.
  1009.            - Fixed a minor problem which caused a runtime error when
  1010.              GUS.EXE was given a read/only attribute.  Thanks to Rob
  1011.              Essers (2:283/406.2) for reporting this.
  1012.            - Cleaned up the batchfile listing in section 3.3 a bit.
  1013.              Thanks to Roelof Heuvel (27:3331/5000@signet.ftn) for the
  1014.              suggestion.
  1015.            - Fixed a minor problem which caused GUS to not append '.*'
  1016.              to a filename given without an extension when the pathame
  1017.              would contain a dot somewhere.  Thanks to Hans Siemons
  1018.              (2:285/214@fidonet.org) for reporting it.
  1019.            - Because of a space inserted between the appropriate switch to
  1020.              supply a password to an unarchiver and the actual password it-
  1021.              self, encrypted archives could never be unpacked. This is now
  1022.              fixed.
  1023.            - Made minor modifications for PKUNZIP 2.00, due to some changes
  1024.              in the way that one handles its command options.
  1025.            - The `use path' option was always supplied with the ZOO unpack
  1026.              commands. Corrected.
  1027.  
  1028.       1.40 - Removed MDCD archive support again, since nobody was likely
  1029.              to use it -- unless you're looking for the worst performing
  1030.              archiver ever, of course.
  1031.            - Added support for the new LHA version 2 archiver from Yoshi,
  1032.              which succeeds LHARC.  The previous version of GUS could
  1033.              already handle the new compression, but I didn't expect the
  1034.              name of the program to be changed.
  1035.            - Added support for the ARJ archiver program from Robert K.
  1036.              Jung, which yields nearly always the best compression and
  1037.              has a lot of features.
  1038.            - Added support for the HYPER archiver program from Germany,
  1039.              which seems to outperform every other archiver on 600..800K
  1040.              logfiles ONLY.  Weird.
  1041.            - Added support for ARCfiles made by the new ARC version 7
  1042.              compressor from SEA.  At this time, only one public domain
  1043.              extractor is available, which unfortunately lacks almost
  1044.              every feature GUS has to offer.
  1045.              My thanks to Donn Bly (1:236/7@fidonet.org) and Jeffrey
  1046.              Nonken (1:273/715@fidonet.org) for providing me with all the
  1047.              information on the ARC7+ archive format and the XARC
  1048.              program.
  1049.            - GUS is now fully commandline compatible with Vernon Buerg's
  1050.              ARCE program.  All of ARCE's switches are supported - except
  1051.              for /5, which prevents ARCE from creating subdirectories
  1052.              contained within ARCfile entries.
  1053.            - GUS provides two extra options: /I will identify an archive
  1054.              type by means of the exitcode (errorlevel) and /M will
  1055.              unpack and delete mailarchives in Fidonet Technology
  1056.              Networks.
  1057.            - BUGFIXES:
  1058.              * cleaned up handling zero-length and read/only files.
  1059.                From now on, GUS won't abort with a runtime error on
  1060.                those. 
  1061.              * you could only specify one single file to extract on GUS's
  1062.                commandline, although the help screen and manual suggested
  1063.                you could give more than one filespec.
  1064.                That's also corrected now.
  1065.            - OTHER IMPROVEMENTS:
  1066.              * the code which detects the archive type has been completely
  1067.                re-written and now is a *lot* faster than before!
  1068.  
  1069.       1.31 - This version was never released, but mentioned in the
  1070.              documentation of the ARCA*Simulator v2.31 (ASIM_231.LZH).
  1071.  
  1072.       1.30 - This version was never released, but mentioned in the "Latest
  1073.              Software Versions" column of the FidoNews magazine.
  1074.  
  1075.       1.20M  Added MDCD archives, corrected an error which made GUS not
  1076.              recognize uncompressed file entries in an LZH archive, made sure
  1077.              the new compression method of PAK is supported, added features to
  1078.              allow selection of files and target directory for unpacking.
  1079.              This is a maintenance release, hence the 'M' behind the version
  1080.              number.
  1081.  
  1082.       1.10 - Added LZH archives, and changed the way DWC archives are
  1083.              identified in order to identify them even if up to 1K of rubbish
  1084.              is appended to the end of a DWC archive. This is useful for DWC
  1085.              archives which have been transferred by means of an Xmodem
  1086.              protocol.
  1087.  
  1088.       1.00 - Base version.  (Turbo Pascal 5.0)
  1089. _______________________________________________________________________(eof)__
  1090.